Tags that contain the target attribute include: .
The corresponding target values include:
_ Blank
_ Parent
_ Self
_ Top
Framename (the tag does not exist)
For the above four, I am not familiar with it anymore. But few people noticed or used the
target="_blank"Open link in new tab
Always thought target="blank" is the wrong way of writing, did not expect this to have effect AH:
When the label has been opened, click the second time will not open the new label, but to refresh the previous
Target & quot; _ blank & quot; The Link opened on the new tag always thinks that target & quot; blank & quot; is a wrong way of writing. I didn't expect it to be effective: when the tag has already been opened, the new tag will not be opened again
A target's jump mode in frame framework a target's jump mode in frame framework
Open a window in a frame
Instead of opening a full browser window, the more common approach to target is to direct the content of the hyperlink to one or more
Definition and usageThe target property of the tag specifies where to open the linked document.If a target property is included in a tag, the browser will load and display the document in the frame or window that is named after the href attribute
Specify default targets for all links on the page:target="_blank"/>W3SchoolDefinition and usageThe target property specifies where to open all links on the page.Grammarvalue" >Property value
value
Description
Using the JavaScript framework
When we talk about the Window object, we mentioned that a Web page within a frame is also a Window object, that is, a frame object is also a Window object. The easiest thing to understand is that each HTML file
HTML target and htmltargetDefinition and usage
the target attribute of a tag specifies where to open the link document.
If a tag contains a target attribute, the browser loads and displays the documents in the framework or window named by the href
Use JavaScript frameworksWhen talking about the window object, we mentioned that a webpage in the framework is also a window object, that is, the Frame object is also a window object. In the simplest case, each HTML file occupies a window object,
Use JavaScript frameworksWhen talking about the window object, we mentioned that a webpage in the framework is also a window object, that is, the Frame object is also a window object. In the simplest case, each HTML file occupies a window object,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.